package main

import (
	_ "LogServer/routers"
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/orm"
	_ "github.com/go-sql-driver/mysql"
)

func main() {
	orm.RegisterDataBase("default","mysql","rujiaowang_log:Rujiaowang.net2018@tcp(118.190.207.134:3306)/rujiaowang_log")
	//o:=orm.NewOrm()
	//cb:=&models.ClassLog{Id:225}
	//o.Read(cb)
	//fmt.Println(cb.Roomid)
	beego.Run()
}

